package com.company;


import java.math.BigDecimal;
import java.util.Scanner;

/**
 * @author jrue
 * @version 1.0
 * @date 2020/3/22 10:01
 */
public class Main30 {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        String s = sc.nextLine();
        String[] strings = s.split("\\*");
        BigDecimal res = new BigDecimal(1);

        for (int i = 0; i < strings.length; i++) {
            res = res.multiply(new BigDecimal(strings[i]));
        }

        System.out.println(res.toString());
    }
}
